list1 = ['apple','orange','banana','peach']
len= len(list1)
# print(len(list1))

# while 遍历
#
# i=0
# while i<len:
#     print(list1[i])
#     i+=1



#for遍历
for item in list1:
    print(item)

